#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a, b,A,B;
	scanf("%d %d", &a, &b);
	A = abs(a);
	B = abs(b);
	if (A > B)
		printf("%d", a);
	else
		printf("%d", b);
	return 0;
}